package com.qianfeng.missfood.bean;

import java.util.List;

/**
 * Created by Administrator on 15-8-17.
 */
public class SplashContent {

    /**
     * isOpenGuidPage : false
     * identificationInfo : {"isOpen":true}
     * isCompatibleLogistics : true
     * h5Urls : {"deliveryTimeUrl":"http://h5.mishi.cn/delivery/time","expressSettingUrl":"http://h5.mishi.cn/delivery/express/setting","incomeUrl":"http://api.mishi.cn/h5/fund/income/detail","foodInsuranceUrl":"http://h5.mishi.cn/h5/food-insurance.html","chefCouponUrl":"http://h5.mishi.cn/coupon/{shopID}","goodsDeliverUrl":"http://h5.mishi.cn/goods/deliver","deliveryRangeUrl":"http://h5.mishi.cn/delivery/rangeAndCost","travelTimeUrl":"http://h5.mishi.cn/delivery/travelTime","couponUrl":"http://h5.mishi.cn/coupon/buyer/list","chefCertUrl":"http://api.mishi.cn/h5/safe/credible"}
     * sortTypeList : [{"needLocate":true,"sortType":"1","sortDisplay":"默认排序"},{"needLocate":true,"sortType":"2","sortDisplay":"按距离"},{"needLocate":true,"sortType":"3","sortDisplay":"按人气"},{"needLocate":false,"sortType":"4","sortDisplay":"全国推荐"}]
     * isCloseChefCoupon : false
     * upgradeInfo : {"upgrade":0,"showNotice":false,"desc":"新版本还在开发中，请期待呦！"}
     * favoriteInfo : {"maxLimit":100}
     * couponInfo : {"isOpen":true}
     * bootScreenInfo : {"invalidTime":"2016-07-15 00:00:00 +0800","effectieTime":"2015-07-15 00:00:00 +0800","url":"http://image.mishi.cn/sysstartpic/2015/0715/0_59e0f092-3f87-4aba-b59a-65327f030597.jpg"}
     * postageCalcSwitch : false
     */
    private boolean isOpenGuidPage;
    private IdentificationInfoEntity identificationInfo;
    private boolean isCompatibleLogistics;
    private H5UrlsEntity h5Urls;
    private List<SortTypeListEntity> sortTypeList;
    private boolean isCloseChefCoupon;
    private UpgradeInfoEntity upgradeInfo;
    private FavoriteInfoEntity favoriteInfo;
    private CouponInfoEntity couponInfo;
    private BootScreenInfoEntity bootScreenInfo;
    private boolean postageCalcSwitch;

    public void setIsOpenGuidPage(boolean isOpenGuidPage) {
        this.isOpenGuidPage = isOpenGuidPage;
    }

    public void setIdentificationInfo(IdentificationInfoEntity identificationInfo) {
        this.identificationInfo = identificationInfo;
    }

    public void setIsCompatibleLogistics(boolean isCompatibleLogistics) {
        this.isCompatibleLogistics = isCompatibleLogistics;
    }

    public void setH5Urls(H5UrlsEntity h5Urls) {
        this.h5Urls = h5Urls;
    }

    public void setSortTypeList(List<SortTypeListEntity> sortTypeList) {
        this.sortTypeList = sortTypeList;
    }

    public void setIsCloseChefCoupon(boolean isCloseChefCoupon) {
        this.isCloseChefCoupon = isCloseChefCoupon;
    }

    public void setUpgradeInfo(UpgradeInfoEntity upgradeInfo) {
        this.upgradeInfo = upgradeInfo;
    }

    public void setFavoriteInfo(FavoriteInfoEntity favoriteInfo) {
        this.favoriteInfo = favoriteInfo;
    }

    public void setCouponInfo(CouponInfoEntity couponInfo) {
        this.couponInfo = couponInfo;
    }

    public void setBootScreenInfo(BootScreenInfoEntity bootScreenInfo) {
        this.bootScreenInfo = bootScreenInfo;
    }

    public void setPostageCalcSwitch(boolean postageCalcSwitch) {
        this.postageCalcSwitch = postageCalcSwitch;
    }

    public boolean isIsOpenGuidPage() {
        return isOpenGuidPage;
    }

    public IdentificationInfoEntity getIdentificationInfo() {
        return identificationInfo;
    }

    public boolean isIsCompatibleLogistics() {
        return isCompatibleLogistics;
    }

    public H5UrlsEntity getH5Urls() {
        return h5Urls;
    }

    public List<SortTypeListEntity> getSortTypeList() {
        return sortTypeList;
    }

    public boolean isIsCloseChefCoupon() {
        return isCloseChefCoupon;
    }

    public UpgradeInfoEntity getUpgradeInfo() {
        return upgradeInfo;
    }

    public FavoriteInfoEntity getFavoriteInfo() {
        return favoriteInfo;
    }

    public CouponInfoEntity getCouponInfo() {
        return couponInfo;
    }

    public BootScreenInfoEntity getBootScreenInfo() {
        return bootScreenInfo;
    }

    public boolean isPostageCalcSwitch() {
        return postageCalcSwitch;
    }

    public static class IdentificationInfoEntity {
        /**
         * isOpen : true
         */
        private boolean isOpen;

        public void setIsOpen(boolean isOpen) {
            this.isOpen = isOpen;
        }

        public boolean isIsOpen() {
            return isOpen;
        }
    }

    public static class H5UrlsEntity {
        /**
         * deliveryTimeUrl : http://h5.mishi.cn/delivery/time
         * expressSettingUrl : http://h5.mishi.cn/delivery/express/setting
         * incomeUrl : http://api.mishi.cn/h5/fund/income/detail
         * foodInsuranceUrl : http://h5.mishi.cn/h5/food-insurance.html
         * chefCouponUrl : http://h5.mishi.cn/coupon/{shopID}
         * goodsDeliverUrl : http://h5.mishi.cn/goods/deliver
         * deliveryRangeUrl : http://h5.mishi.cn/delivery/rangeAndCost
         * travelTimeUrl : http://h5.mishi.cn/delivery/travelTime
         * couponUrl : http://h5.mishi.cn/coupon/buyer/list
         * chefCertUrl : http://api.mishi.cn/h5/safe/credible
         */
        private String deliveryTimeUrl;
        private String expressSettingUrl;
        private String incomeUrl;
        private String foodInsuranceUrl;
        private String chefCouponUrl;
        private String goodsDeliverUrl;
        private String deliveryRangeUrl;
        private String travelTimeUrl;
        private String couponUrl;
        private String chefCertUrl;

        public void setDeliveryTimeUrl(String deliveryTimeUrl) {
            this.deliveryTimeUrl = deliveryTimeUrl;
        }

        public void setExpressSettingUrl(String expressSettingUrl) {
            this.expressSettingUrl = expressSettingUrl;
        }

        public void setIncomeUrl(String incomeUrl) {
            this.incomeUrl = incomeUrl;
        }

        public void setFoodInsuranceUrl(String foodInsuranceUrl) {
            this.foodInsuranceUrl = foodInsuranceUrl;
        }

        public void setChefCouponUrl(String chefCouponUrl) {
            this.chefCouponUrl = chefCouponUrl;
        }

        public void setGoodsDeliverUrl(String goodsDeliverUrl) {
            this.goodsDeliverUrl = goodsDeliverUrl;
        }

        public void setDeliveryRangeUrl(String deliveryRangeUrl) {
            this.deliveryRangeUrl = deliveryRangeUrl;
        }

        public void setTravelTimeUrl(String travelTimeUrl) {
            this.travelTimeUrl = travelTimeUrl;
        }

        public void setCouponUrl(String couponUrl) {
            this.couponUrl = couponUrl;
        }

        public void setChefCertUrl(String chefCertUrl) {
            this.chefCertUrl = chefCertUrl;
        }

        public String getDeliveryTimeUrl() {
            return deliveryTimeUrl;
        }

        public String getExpressSettingUrl() {
            return expressSettingUrl;
        }

        public String getIncomeUrl() {
            return incomeUrl;
        }

        public String getFoodInsuranceUrl() {
            return foodInsuranceUrl;
        }

        public String getChefCouponUrl() {
            return chefCouponUrl;
        }

        public String getGoodsDeliverUrl() {
            return goodsDeliverUrl;
        }

        public String getDeliveryRangeUrl() {
            return deliveryRangeUrl;
        }

        public String getTravelTimeUrl() {
            return travelTimeUrl;
        }

        public String getCouponUrl() {
            return couponUrl;
        }

        public String getChefCertUrl() {
            return chefCertUrl;
        }
    }

    public static class SortTypeListEntity {
        /**
         * needLocate : true
         * sortType : 1
         * sortDisplay : 默认排序
         */
        private boolean needLocate;
        private String sortType;
        private String sortDisplay;

        public void setNeedLocate(boolean needLocate) {
            this.needLocate = needLocate;
        }

        public void setSortType(String sortType) {
            this.sortType = sortType;
        }

        public void setSortDisplay(String sortDisplay) {
            this.sortDisplay = sortDisplay;
        }

        public boolean isNeedLocate() {
            return needLocate;
        }

        public String getSortType() {
            return sortType;
        }

        public String getSortDisplay() {
            return sortDisplay;
        }
    }

    public static class UpgradeInfoEntity {
        /**
         * upgrade : 0
         * showNotice : false
         * desc : 新版本还在开发中，请期待呦！
         */
        private int upgrade;
        private boolean showNotice;
        private String desc;

        public void setUpgrade(int upgrade) {
            this.upgrade = upgrade;
        }

        public void setShowNotice(boolean showNotice) {
            this.showNotice = showNotice;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public int getUpgrade() {
            return upgrade;
        }

        public boolean isShowNotice() {
            return showNotice;
        }

        public String getDesc() {
            return desc;
        }
    }

    public static class FavoriteInfoEntity {
        /**
         * maxLimit : 100
         */
        private int maxLimit;

        public void setMaxLimit(int maxLimit) {
            this.maxLimit = maxLimit;
        }

        public int getMaxLimit() {
            return maxLimit;
        }
    }

    public static class CouponInfoEntity {
        /**
         * isOpen : true
         */
        private boolean isOpen;

        public void setIsOpen(boolean isOpen) {
            this.isOpen = isOpen;
        }

        public boolean isIsOpen() {
            return isOpen;
        }
    }


}
